package com.xzakota.minesweeper.msg;

import com.xzakota.minesweeper.model.entity.UserBean;

/**
 * 用户消息基类
 *
 * @author Xzakota
 */
public abstract class UserMsg extends BaseMsg implements IUserMsg {
    @Override
    public UserBean getUser() {
        UserBean user = null;
        if (data instanceof UserBean) {
            user = (UserBean) data;
        }
        return user;
    }
}
